package top.yaofengqiao.springcloudsimple.auth.biz.domain.user.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yfq
 * @date 2024/6/1 12:41
 * @description 登录用户的信息
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LoginUserInfo {
    // 用户id
    private Long userId;

    // 用户名
    private String username;

    // 角色列表
    private List<String> roles;
}
